package com.glx.learn_spring.learn_spring_07_di_autoware.service.impl;

import com.glx.learn_spring.learn_spring_07_di_autoware.dao.IBookDao;
import com.glx.learn_spring.learn_spring_07_di_autoware.service.IBookService;

/**
 * @author haoli
 * @create 2022/11/30 18:51
 */
public class BookServiceImpl implements IBookService {

    private IBookDao bookDao;

    @Override
    public void save() {
        System.out.println("bookService save ...");
        bookDao.save();
    }

    public void setBookDao(IBookDao bookDao) {
        this.bookDao = bookDao;
    }
}
